﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AllTalkProxy
{
    public class XmlEventArgs : EventArgs
    {
        public string Xml { get; private set; }

        public XmlEventArgs(string xml)
        {
            this.Xml = xml;
        }
    }

    public class MessageEventArgs : XmlEventArgs
    {
        public MessageEventArgs(string xml) : base(xml)
        {
        }
    }

    public class PresenceEventArgs : XmlEventArgs
    {
        public PresenceEventArgs(string xml)
            : base(xml)
        {
        }
    }

    public class RosterLoadedEventArgs : XmlEventArgs
    {
        public RosterLoadedEventArgs(string xml)
            : base(xml)
        { }
    }

    public class VCardEventArgs : XmlEventArgs
    {
        public string UserId { get; private set; }
        public VCardEventArgs(string xml, string userId)
            : base(xml)
        {
            this.UserId = userId;
        }
    }

}
